package xj.graph2d.template;

import java.util.Map;

import xj.graph2d.DrawShapeBase;
import xj.graph2d.LineShape;
import xj.graph2d.RectangleShape;

public class SimpleGraphTemplate extends Template {

  public SimpleGraphTemplate() {
  }

  @Override
  public void makeTemplate(Map iconMap) {
    DrawShapeBase shape;
    shape = new LineShape(0, 0, 50, 50, true);
    add(new TemplateToolButton("LineEdge", shape, 24, 24, false, true));
    shape = new RectangleShape(0, 0, 30, 20, false, true);
    add(new TemplateToolButton("RectNode", shape, 24, 24, false, true));
  }

}
